<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <style>
    	body{
    		
    	}
    </style>
</head>
<body onload="">
	sssssssssssssssssssssssss
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
	alert(111111);
	window.onload=function()//用window的onload事件，窗体加载完毕的时候
	{
		window.location="http://www.baidu.com"; 
	}

	alert(11111111);
</script>
</html>